package com.heima.model.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TaskTypeEnum {
    NEWS_SCAN_TIME(1001, 1,"文章定时审核"),  //类型是 1001，级别 1
    REMOTEERROR(1002, 2,"第三方接口调用失败，重试");  //类型是 1002，级别 2
    private final int taskType;   //对应具体业务
    private final int priority;   //业务不同级别
    private final String desc;   //描述信息
}
